package com.isoft.filelistener.dao;

import com.isoft.filelistener.entity.FpttDflt;
import com.isoft.filelistener.entity.Meta;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface FpttMsgDao {
    @Insert("insert into TEAM_03.DFME_FPTT(SNDR,RCVR,SEQN,DDTM,TYPE,STYP,FLID,FFID,FIDE,FPTT,FPLT) VALUES (#{meta.sndr},#{meta.rcvr},#{meta.seqn}," +
            "#{meta.ddtm},#{meta.type},#{meta.styp},#{dflt.flid},#{dflt.ffid}," +
            "#{dflt.fide},#{dflt.fptt},#{dflt.fplt})")
    public int insertfptt (@Param("meta") Meta meta, @Param("dflt") FpttDflt dflt);
}
